export default {
    state: {
        sideMenu: { // 左侧菜单是否打开
            opened: true
        }
    },
    mutations: {
        toggleSideMenu (state, payload) { // 切换左侧菜单的显示和隐藏
            console.log('提交toggleSideMenu', payload)
            state.sideMenu.opened = payload
        }
    }
}